package com.iptv.devices.mapper;

import com.iptv.devices.domain.LiveDevices;
import com.iptv.devices.domain.dto.DeviceExternallyAddedDTO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【live_devices】的数据库操作Mapper
* @createDate 2025-01-26 15:14:31
* @Entity generator.domain.LiveDevices
*/
public interface LiveDevicesMapper {

    public List<LiveDevices> selectDeviceListByView(LiveDevices liveDevices);

    public LiveDevices selectDeviceByDeviceId(Long deviceId);

    public int insertDevice(LiveDevices liveDevices);

    public int updateDevice(LiveDevices liveDevices);

    public int deleteDeviceByDeviceIds(Long[] deviceIds);

    public int checkStatusByMac(String mac);

    public int checkRegistrationDevice(String mac);

    public int updateStatus(Long[] deviceIds);

    LiveDevices getDeviceByMac(String mac);

}




